﻿using System.ComponentModel.DataAnnotations;
using FoodBank.Resources;

namespace FoodBank.Web.ViewModels
{
    public class SignInViewModel
    {
        [Display(ResourceType = typeof(AccountResources), Name = "UserName")]
        [Required(ErrorMessageResourceType = typeof(AccountResources), ErrorMessageResourceName = "UserNameRequired")]
        public string UserName { get; set; }

        [Display(ResourceType = typeof(AccountResources), Name = "Password")]
        [Required(ErrorMessageResourceType = typeof(AccountResources), ErrorMessageResourceName = "PasswordRequired")]
        public string Password { get; set; }

        [Display(ResourceType = typeof(AccountResources), Name = "Remember")]
        public bool Remember { get; set; }
    }
}